//
//  YBMineOpenVipPopupVC.swift
//  Moonlight
//
//  Created by Penlon Kim on 2023/6/30.
//  Copyright © 2023 Moonlight Game Streaming Project. All rights reserved.
//

import UIKit
import SnapKit

class YBMineOpenVipPopupVC: BaseMaskVC {
    
    deinit {
        PPP("[\(NSStringFromClass(type(of: self)))]>>>已被释放")
    }
    
    // MARK: Lifecycle
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.addSubview(popupView)
        popupView.snp.makeConstraints { make in
            make.center.equalToSuperview()
        }
        
    }
    
    // MARK: - lazy
    private lazy var popupView: YBMineOpenVipPopupView = {
        let view = YBMineOpenVipPopupView()
        view.bk_addCornerBorder(radius: 10, borderWidth: 0.1, borderColor: .clear)
        view.onKnow = { [weak self] in
            self?.dismiss(animated: true)
        }
        return view
    }()
    
}

